package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Nivel;
import com.lostreseditores.sabersai.model.dto.NivelDTO;


public interface INivelLogic {
    public List<Nivel> getNivel() throws Exception;

    public void saveNivel(Integer niveidn, String nivenombrev,
        String nivepaginav) throws Exception;

    public void deleteNivel(Integer niveidn) throws Exception;

    public void updateNivel(Integer niveidn, String nivenombrev,
        String nivepaginav) throws Exception;

    public Nivel getNivel(Integer niveidn) throws Exception;

    public List<Nivel> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Nivel> findPageNivel(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberNivel() throws Exception;

    public List<NivelDTO> getDataNivel() throws Exception;
}
